package com.gmscosmo.janus.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties(prefix = "janus")
public class JanusConfig {
    private int min_port;
    private int max_port;
    private int load_distribution_strategy;
    private int max_participant;
    private boolean is_share_stream;
    private String rabbitmq_host;
    private int rabbitmq_port;
    private String rabbitmq_username;
    private String rabbitmq_password;
    private String rabbitmq_virtualHost;
    private String rabbitmq_exchange;
    private String host;
    private boolean is_log;
    private int log_level;
    private boolean check;

    public int getMin_port() {
        return min_port;
    }

    public void setMin_port(int min_port) {
        this.min_port = min_port;
    }

    public int getMax_port() {
        return max_port;
    }

    public void setMax_port(int max_port) {
        this.max_port = max_port;
    }

    public int getLoad_distribution_strategy() {
        return load_distribution_strategy;
    }

    public void setLoad_distribution_strategy(int load_distribution_strategy) {
        this.load_distribution_strategy = load_distribution_strategy;
    }

    public int getMax_participant() {
        return max_participant;
    }

    public void setMax_participant(int max_participant) {
        this.max_participant = max_participant;
    }

    public String getRabbitmq_host() {
        return rabbitmq_host;
    }

    public void setRabbitmq_host(String rabbitmq_host) {
        this.rabbitmq_host = rabbitmq_host;
    }

    public int getRabbitmq_port() {
        return rabbitmq_port;
    }

    public void setRabbitmq_port(int rabbitmq_port) {
        this.rabbitmq_port = rabbitmq_port;
    }

    public String getRabbitmq_username() {
        return rabbitmq_username;
    }

    public void setRabbitmq_username(String rabbitmq_username) {
        this.rabbitmq_username = rabbitmq_username;
    }

    public String getRabbitmq_password() {
        return rabbitmq_password;
    }

    public void setRabbitmq_password(String rabbitmq_password) {
        this.rabbitmq_password = rabbitmq_password;
    }

    public String getRabbitmq_virtualHost() {
        return rabbitmq_virtualHost;
    }

    public void setRabbitmq_virtualHost(String rabbitmq_virtualHost) {
        this.rabbitmq_virtualHost = rabbitmq_virtualHost;
    }

    public String getRabbitmq_exchange() {
        return rabbitmq_exchange;
    }

    public void setRabbitmq_exchange(String rabbitmq_exchange) {
        this.rabbitmq_exchange = rabbitmq_exchange;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public boolean isIs_share_stream() {
        return is_share_stream;
    }

    public void setIs_share_stream(boolean is_share_stream) {
        this.is_share_stream = is_share_stream;
    }

    public boolean isIs_log() {
        return is_log;
    }

    public void setIs_log(boolean is_log) {
        this.is_log = is_log;
    }

    public int getLog_level() {
        return log_level;
    }

    public void setLog_level(int log_level) {
        this.log_level = log_level;
    }

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }
}
